package com.ma.crawl_book.service.impl;

import com.ma.crawl_book.dao.SectionContentMapper;
import com.ma.crawl_book.model.SectionContent;
import com.ma.crawl_book.service.ISectionContentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class SectionContentServiceImpl implements ISectionContentService {

    @Resource
    SectionContentMapper contentMapper;
    @Override
    public int insertSectionContent(SectionContent sectionContent) {
        return contentMapper.insertSelective(sectionContent);
    }
}
